<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="/common/taglibs.jsp" %>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>创建项目-VChello saas</title>
		<link rel="stylesheet" href="/resources/src/css/lib/weui.min.css" />
		<link rel="stylesheet" href="/resources/src/css/mSaaS/main.css" />
		<link rel="stylesheet" href="/resources/src/css/mSaaS/createProject.css" />
			
	</head>
	<body>
		<header class="header text-center">
			<h1>创建项目</h1>
			<i class="go-back iconfont icon-zuo"></i>
		</header>
		<div class="errTip">错误提示</div>
		<article id="project-comment" style="padding-bottom:1.7rem;">
			<h2 class="title">项目信息</h2>
			<div class="weui-cells">
			  <div class="weui-cell">
			  	<input type="hidden" id='id' value="${proDelivery.id }"/>
			  	<input type="hidden" id='openId' value="${scanUser.openId }"/>
			  	<input type="hidden" id='userId' value="${scanUser.id }"/>
			  	<input type="hidden" id='deliveryId' value="${user.id }"/>
			  	<div class="weui-cell__hd">项目名称</div>
			    <div class="weui-cell__bd">
			    	<input type="text" name="proName" id="proName" placeholder="请输入项目名称" value="${proDelivery.name }"/>
			    </div>
			  </div>
			  <div class="weui-cell">
			  	<div class="weui-cell__hd">项目地区</div>
			    <div class="weui-cell__bd">
			    	<input type="text" placeholder="请选择所在地区" id="city" readonly="readonly" name="${proDelivery.area.id }" value="${proDelivery.area.name }"/>
			    </div>
			    <div class="weui-cell__ft">
			    	<i class="iconfont icon-gengduo"></i>
			    </div>
			  </div>
			  <div class="weui-cell">
			  	<div class="weui-cell__hd">所属行业</div>
			    <div class="weui-cell__bd">
			    	<input type="text" placeholder="请选择所属行业" id="industry" readonly="readonly" name="${proDelivery.field.id}" value="${proDelivery.field.fieldName }"/>
			    </div>
			    <div class="weui-cell__ft">
			    	<i class="iconfont icon-gengduo"></i>
			    </div>
			  </div>
			  <div class="weui-cell">
			    <div class="weui-cell__hd">当前轮次</div>
			    <div class="weui-cell__bd">
			    	<input type="text" id="round" placeholder="请选择融资轮次" readonly="readonly" name="${proDelivery.round.id }"  value="${proDelivery.round.name }"/>	
			    </div>
			    <div class="weui-cell__ft">
			    	<i class="iconfont icon-gengduo"></i>
			    </div>
			  </div>
			  <div class="weui-cell">
			    <div class="weui-cell__hd">出让股权</div>
			    <div class="weui-cell__bd">
			      <input type="text" id="equity" placeholder="请填写出让股权比例" value="${proDelivery.stock }"/>
			    </div>
			    <div class="weui-cell__ft">%</div>
			  </div>
			  <div class="weui-cell">
			    <div class="weui-cell__hd">融资金额</div>
			    <div class="weui-cell__bd">
			    	<input type="text" id="money" placeholder="请填写融资金额" value="${proDelivery.money }"/>
			    </div>
			    <div class="weui-cell__ft">万</div>
			  </div>
			  <div class="weui-cell">
			    <div class="weui-cell__hd">融资币种</div>
			    <div class="weui-cell__bd">
			    	<input type="text" placeholder="请选择融资币种" id="currency" readonly="readonly" name="${proDelivery.unit }" value="${proDelivery.unit==1?'人民币':'美元' }"/>	
			    </div>
			    <div class="weui-cell__ft">
			    	<i class="iconfont icon-gengduo"></i>
			    </div>
			  </div>
			  <div class="weui-cell profile">
			    <div class="weui-cell__hd">项目简介</div>
			    <div class="weui-cell__bd">
			    	<textarea maxlength="500" id="profile" placeholder="请填写项目简介">${proDelivery.proDetail }</textarea>
			    </div>
			  </div>
			</div>
		</article>
		<footer class="footer">
			<div class="confirm text-center">确认</div>
		</footer>
		
		<div class="roundPicker picker" style="display:none;">
			<div class="picker-inner">
				<div class="picker-content">
					<div class="picker-hd">
						<a class="picker-cancel">取消</a>
						<!--<span class="picker-title">标题</span>-->
						<a class="picker-confirm">确定</a>
					</div>
					<div class="picker-bd">
						<div class="picker-selected swiper-container">
							<div class="swiper-wrapper">
								<c:forEach items="${roundList }" var="round">
									<span class="swiper-slide" value="${round.id }">${round.name }</span>
								</c:forEach>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<div class="currencyPicker picker" style="display:none;">
			<div class="picker-inner">
				<div class="picker-content">
					<div class="picker-hd">
						<a class="picker-cancel">取消</a>
						<!--<span class="picker-title">标题</span>-->
						<a class="picker-confirm">确定</a>
					</div>
					<div class="picker-bd">
						<div class="picker-selected swiper-container">
							<div class="swiper-wrapper">
								<span class="swiper-slide" value="1">人民币</span>
								<span class="swiper-slide" value="2">美元</span>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<div class="industryPicker picker" style="display:none;">
			<div class="picker-inner">
				<div class="picker-content">
					<div class="picker-hd">
						<a class="picker-cancel">取消</a>
						<!--<span class="picker-title">标题</span>-->
						<a class="picker-confirm">确定</a>
					</div>
					<div class="picker-bd">
						<div class="picker-selected swiper-container">
							<div class="swiper-wrapper">
								<c:forEach items="${fieldList }" var="field">
									<span class="swiper-slide" value="${field.id }">${field.fieldName }</span>
								</c:forEach>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<!--城市选择列表-->
		<div class="cityPicker picker" style="display:none;">
			<div class="picker-inner">
				<div class="picker-content">
					<div class="picker-hd">
						<a class="picker-cancel">取消</a>
						<!--<span class="picker-title">标题</span>-->
						<a class="picker-confirm">确定</a>
					</div>
					<div class="picker-bd">
						<div class="picker-selected swiper-container">
							<div class="swiper-wrapper">
								<c:forEach items="${areaLsit }" var="area">
									<span class="swiper-slide" value="${area.id }">${area.name }</span>
								</c:forEach>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<script src="/resources/src/js/jquery-2.1.4.js" ></script>
		<script src="/resources/src/js/mSaaS/jquery-weui.js" ></script>
		<script src="/resources/src/js/mSaaS/swiper.js"></script>
		<script src="/resources/src/js/mSaaS/main.js"></script>
		<script src="/resources/src/js/mSaaS/createProject.js"></script>
	</body>
</html>
